DbDsnChange

 

The 'DbDsnChange' function changes the database connection string.

 

void @DbDsnChange(string dsn, string connection_string);

 

Parameters

string dsn : Connection string name of database.

string connection_string : Database connection string to be changed.

 

Return Value

None

 

Example

@DbDsnChange("ex_dsn", "Provider=Microsoft.JET.OLEDB.4.0;Data Source=c:\\example_project\\test.mdb;")

Description : Database connection string of DSN that was named as 'ex_dsn' is changed as 'Provider=Microsoft.JET.OLEDB.4.0;Data Source=c:\example_project\test.mdb;'. (Enter by dividing capital and small letter when string is entered.)

 

Version Information

Supported Version : 10.2.4 or higher